<?xml version="1.0" encoding="utf-8"?>
<lookup>
	<class name="Contacts">
		<object name="contact" icon="~/Images/ico_16_2_d.gif" newurl="http://crm/{0}/sfa/conts/edit.aspx" openurl="http://crm/{0}/_forms/readonly/readonly.aspx?objTypeCode={2}&amp;id={1}">
			<query>
				<fetch mapping="logical">
					<entity name="contact">
						<attribute name="fullname" />
						<attribute name="emailaddress1" />
						<attribute name="address1_city" />
						<attribute name="address1_addresstypecode" />
						<attribute name="address1_country" />
						<attribute name="parentcustomerid" />
						<attribute name="transactioncurrencyid" />
						<attribute name="ownerid" />
						<filter>
							<condition attribute="statecode" operator="eq" value="0" />
						</filter>
						<order attribute="fullname" descending="true" />
					</entity>
				</fetch>
			</query>
		</object>
	</class>
</lookup>